<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
<title>用户信息列表</title>
<%@ include file="/WEB-INF/views/include/head.jsp"%>

</head>
<body>
	<form name="formuser" id="formuser" method="post" action="${ctx}/User/list">
		<tr>
			<td height="30">
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td height="62" background="${ctxStatic}/images/nav04.gif">
							<!--  -->
							<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
								<tr>
									<td width="21"><img src="${ctxStatic}/images/ico07.gif" width="20" height="18" /></td>
									<td width="538">查看内容：按时间： <input name="textfield" type="text" size="12" readonly="readonly" /> <span class="newfont06">至</span> <input
										name="textfield" type="text" size="12" readonly="readonly" /> <input name="Submit4" type="button" class="right-button02" value="查 询" /></td>
									<td width="144" align="left"><a href="#" onclick="sousuo()"> <input name="Submit3" type="button" class="right-button07" value="高级搜索" />
									</a></td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
			</td>
		</tr>
		<tr>
			<td><table id="subtree1" style="DISPLAY:" width="100%" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
								<tr>
									<td height="40" class="font42">
										<table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#464646" class="newfont03">
											<tr class="CTitle">
												<td height="22" colspan="7" align="center" style="font-size: 16px">用户信息列表</td>
											</tr>
											<tr bgcolor="#EEEEEE">
												<td width="20%" align="center">用户编号</td>
												<td width="20%" align="center">用户名</td>
												<td width="20%" align="center">最后登录时间</td>
												<td width="40%" align="center">功&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;能</td>
											</tr>
											<c:forEach items="${obj.list}" var="user">
											<c:if test="${user.name != loginuser.name }">
												<tr bgcolor="#FFFFFF">
													<td>${user.userId}</td>
													<td>${user.name}</td>
													<td>${user.zuihoudengl}</td>
													<td align="center">
													     <a href="${ctx}/User/reset?userId=${user.userId }" >重置密码(123456)</a>
													     &nbsp;&nbsp;&nbsp;
													     <a href="${ctx }/User/delete?userId=${user.userId }">删除</a>
													     </td>
												</tr>
												</c:if>
											</c:forEach>
										</table>
									</td>
								</tr>
							</table>
							<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
								<tr>
									<td height="6"><img src="${ctxStatic}/images/spacer.gif" width="1" height="1" /></td>
								</tr>
								<tr>
                                    <tags:page pageCount="${obj.pager.pageCount}" pageNumber="${obj.pager.pageNumber}" formid="formuser"></tags:page>
								</tr>
							</table></td>
					</tr>
				</table>
	</form>
</body>
</html>